package com.imoblife.brainwavestus.product;

import java.util.ArrayList;

public abstract class Product {
	
	private ProductInfo mInfo;
	
	public abstract boolean addProduct(Product product);
	
	public abstract boolean removeProduct(Product product);
	
	public abstract Product getChildProduct(int index);
	
	public abstract ArrayList<Product> getAllChild();
	
	public Product() {
		
		mInfo = new ProductInfo();
	}
	
	public void setProductInfo(ProductInfo productInfo) {
		
		mInfo = productInfo;
	}
	
	public ProductInfo getProductInfo() {
		
		return mInfo;
	}
}
